/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.util.Scanner;

/**
 * <p>Project: javase202202 - ScannerDemo
 * <p>Powered by Lisi On 2022-05-31 11:57:15
 * <p>Created by IntelliJ IDEA
 *

 * @version 1.0
 * @since 17
 */
public class ScannerDemo {
    public static void main(String[] args) {
        var s = new Scanner(System.in);
        System.out.print("请输入a:");
        int a = s.nextInt();
        System.out.print("请输入b:");
        int b = s.nextInt();
        System.out.printf("%d + %d = %d", a, b, a + b);
    }
}
